<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:67:"D:\wamp64\www\tp6\public/../application/admin\view\login\index.html";i:1555379582;}*/ ?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" type="text/css" href="/tp6/public/static/bootstrap-3.3.7/css/bootstrap.min.css" />
	<script type="text/javascript" src="/tp6/public/static/js/jquery-3.3.1.min.js"></script>
  <script type="text/javascript">
  $(function(){
    $("#vcode-img img").click(function(){
      var src=$(this).attr("src");
      var newSrc=src+"?"+Math.random();
      $(this).attr("src",newSrc);
    })
  })
  </script>


</head>
<body>
<h5 class="center">管理员登陆入口</h5>
<form class="form-horizontal" role="form" action="<?php echo url('check'); ?>" method="post">
  <div class="form-group">
    <label for="firstname" class="col-sm-2 control-label">用户名</label>
    <div class="col-sm-6">
      <input type="text" class="form-control" id="username" placeholder="请输入名字" name="username">
    </div>
  </div>
  <div class="form-group">
    <label for="lastname" class="col-sm-2 control-label">密码</label>
    <div class="col-sm-6">
      <input type="password" class="form-control" id="lastname" placeholder="请输入密码" name="password">
    </div>
  </div>
  <div class="form-group">
    <label for="vcode" class="col-sm-2 control-label">验证码</label>
    <div class="col-sm-3">
      <input type="text" class="form-control" id="vcode" name="vcode" placeholder="请输入验证码">
    </div>
    <div id="vcode-img">
		<img src="<?php echo captcha_src(); ?>" alt="captcha" id="vcode">
    </div>
  </div>
	
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox">请记住我
        </label>
      </div>
    </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default">登录</button>
    </div>
  </div>
</form>
</body>
</html>